package edu.tjufe.llp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.List;

/**
 * 电动车对象 car
 * 
 * @author llp
 * @date 2022-12-25
 */
@Getter
@Setter
public class Car implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Integer carId;

    /**
     * 车牌号
     */
//    @Excel(name = "车牌号")
    private String carCode;

    /**
     * 车主姓名
     */
//    @Excel(name = "车主姓名")
    private String ownerName;

    /**
     * 车主性别
     */
//    @Excel(name = "车主性别")
    private String ownerSex;

    /**
     * 车主号码
     */
//    @Excel(name = "车主号码")
    private String ownerTel;

    /**
     * 备注
     */
//    @Excel(name = "备注")
    private String carRemark;

  //利用carId查询充电记录 暂不使用
    @TableField(exist = false)
    private List<ChargeRecord> records;
}